package com.ruoyi.system.domain.supe;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang.builder.ToStringBuilder;
import org.apache.commons.lang.builder.ToStringStyle;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 超管分销佣金对象 commission
 *
 * @author ruoyi
 * @date 2021-02-05
 */
//@Data
//@ToString
//@NoArgsConstructor
//@AllArgsConstructor
//@Builder
public class Commission  extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long commissionId;

    /** 佣金金额 */
    @Excel(name = "佣金金额")
    private Double commissionMoney;

    /** 分级,暂用 */
    @Excel(name = "分级,暂用")
    private String commissionGrading;

    /** 0启用  1禁用 */
    @Excel(name = "0启用  1禁用")
    private String commissionState;
    private String commissionAddress;

    /** 最后修改时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "最后修改时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date modifiedTime;


    /** 分站佣金金额 */
    @Excel(name = "分站佣金金额")
    private Double substationMoney;


    /** 客户佣金金额 */
    @Excel(name = "客户佣金金额")
    private Double clientMoney;


    /** 总收益 */
    @Excel(name = "总收益")
    private Double totalRevenue;


    @Override
    public String toString() {
        return "Commission{" +
                "commissionId=" + commissionId +
                ", commissionMoney=" + commissionMoney +
                ", commissionGrading='" + commissionGrading + '\'' +
                ", commissionState='" + commissionState + '\'' +
                ", commissionAddress='" + commissionAddress + '\'' +
                ", modifiedTime=" + modifiedTime +
                ", substationMoney=" + substationMoney +
                ", clientMoney=" + clientMoney +
                ", totalRevenue=" + totalRevenue +
                '}';
    }

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public Long getCommissionId() {
        return commissionId;
    }

    public void setCommissionId(Long commissionId) {
        this.commissionId = commissionId;
    }

    public Double getCommissionMoney() {
        return commissionMoney;
    }

    public void setCommissionMoney(Double commissionMoney) {
        this.commissionMoney = commissionMoney;
    }

    public String getCommissionGrading() {
        return commissionGrading;
    }

    public void setCommissionGrading(String commissionGrading) {
        this.commissionGrading = commissionGrading;
    }

    public String getCommissionState() {
        return commissionState;
    }

    public void setCommissionState(String commissionState) {
        this.commissionState = commissionState;
    }

    public String getCommissionAddress() {
        return commissionAddress;
    }

    public void setCommissionAddress(String commissionAddress) {
        this.commissionAddress = commissionAddress;
    }

    public Date getModifiedTime() {
        return modifiedTime;
    }

    public void setModifiedTime(Date modifiedTime) {
        this.modifiedTime = modifiedTime;
    }

    public Double getSubstationMoney() {
        return substationMoney;
    }

    public void setSubstationMoney(Double substationMoney) {
        this.substationMoney = substationMoney;
    }

    public Double getClientMoney() {
        return clientMoney;
    }

    public void setClientMoney(Double clientMoney) {
        this.clientMoney = clientMoney;
    }

    public Double getTotalRevenue() {
        return totalRevenue;
    }

    public void setTotalRevenue(Double totalRevenue) {
        this.totalRevenue = totalRevenue;
    }
}
